<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8"
	contentType="text/html;charset=utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title></title>
		<%@ include file="/jsp/front/common/header.jsp"%>
	</head>
	<body>
		<%@ include file="/jsp/front/common/nav.jsp"%>
		<div class="container">
			<div class="leftBar">
				<div class="t_block helpct">
					<div class="hd">
						<div class="wrap">
							用户管理
						</div>
					</div>
					<div class="ct">
						<ul>
							<li>
								<a href="member_index.do">订单管理</a>
							</li>
							<li>
								<a href="changePassword.jsp">密码修改</a>
							</li>
						</ul>
					</div>
				</div>
			</div>
			<div class="content">

				<div id="flightList" class="list">
					<div class="hd">
						订单明细
					</div>
					<div class="flightPanel">
						<div id="flightListXI34" class="ct" style="z-index: 600">
							<div class="c3">
								订单号
							</div>
							<div class="c4">
								<div  >
									开始时间
								</div>
							</div> 
							<div class="c4">
								<div  >
									结束时间
								</div>
							</div>

							<div class="c5">
								&nbsp;

							</div>
							<div class="c4">
								<div class="pr">
									金额
								</div>
							</div> 
							<div class="c2">
								<div class="pr">
									下单时间
								</div>

							</div>
							<div class="bb">
								<div class="pr">
									操作
								</div>
							</div> 
						</div>
						<c:forEach var="order" items="${orders}" varStatus="status1">

							<div id="flightListXI34" class="ct" style="z-index: 600">
								<div class="c3">
									<a href="member_order_get.do?orderId=${order.orderId}">${order.orderId}</a>
								</div>
								<div class="c4">
									${order.startDate}

								</div> 
								<div class="c4"> 
									 
										${order.endDate}
									 
								</div>

								<div class="c5">
									&nbsp;

								</div>

								<div class="c4">
									<div class="pr">
										<fmt:message key="common_currency" />
										<fmt:formatNumber pattern="0.00" value="${order.totalAmount}" />
									</div>

								</div> 
								<div class="c2">
									<div class="pr">
										${order.createTimeString}
									</div>
								</div>
								<div class="bb">
									<c:if test="${order.status == 0}">
										<a href="order_pay.do?orderId=${order.orderId}"> 去支付 </a>
									</c:if>
									<c:if test="${order.status == 1}">
										<div class="pr">已支付</div>
									</c:if>
									<c:if test="${order.status == 2}">
										退款完成
									</c:if>
								</div>
							</div>

						</c:forEach>
					</div>
				</div>


			</div>

		</div>

		<%@ include file="/jsp/front/common/footer.jsp"%>


	</body>
</html>